<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<input type="hidden" name="zh_parsen/fzr_name" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name"/>"/>
<input type="hidden" name="zh_parsen/fzr_mobile" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile"/>"/>
<input type="hidden" name="zh_parsen/fzr_tel" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work"/>"/>
<input type="hidden" name="zh_parsen/fzr_email" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email"/>"/>
<div class="t_bar"><!-- <span class="color_red">*</span> -->项目基本情况</div>
	<table class="t_css" width="100%" border="0" cellpadding="0"
	    cellspacing="1">
	<col style="width: 25%"/>
	<col style="width: 25%"/>
	<col style="width: 25%"/>
	<col style="width: 25%"/>
	    <tr >
	        <td align="right"><span class="color_red">*</span>项目名称：</td>
	        <td colspan="3">
	        	<input type='text' name='proposal/zh_title' id='zh_title' style="width: 88%" class="input_css required maxlength:100" maxlength="100" value='<x:out select="$xmlData/data/proposal/zh_title"/>' label="项目名称">
	        </td>
	    </tr>
	    <tr >
	        <td align="right"><span class="color_red">*</span>联盟名称（全称）：</td>
	        <td colspan="3">
	        	<input type='text' name='proposal/lm_name' id='lm_name' style="width: 88%" class="input_css required maxlength:100" maxlength="100" value='<x:out select="$xmlData/data/proposal/lm_name"/>' label="联盟名称（全称）">
 			</td>
	    </tr>
	    
	    <tr>
	        <td align="right"><span class="color_red">*</span>归口管理部门：</td>
	        <td>
	        	<c:set var="recomend_org">{'id':'<x:out select="$xmlData/data/proposal/recomend_org_value" />','name':'<x:out select="$xmlData/data/proposal/recomend_org_name" />'}</c:set>
				<cpt:tree key="recommended_org" cacheable="false" className="hn_iuput_kuang " readonly="true" value="${recomend_org}"  label="归口管理部门"
         			id="recomend_org" onlyChooseLeaf="false"  showPattern="all" shieldPattern="0" topCheckbox="true" onClick="initTreeValueExt" />
				<input type="hidden" id="recomend_org_value" name="proposal/recomend_org_value"  class="required"  value="<x:out select="$xmlData/data/proposal/recomend_org_value" />" label="归口管理部门">
				<input type="hidden" name="proposal/recomend_org_name" value="<x:out select="$xmlData/data/proposal/recomend_org_name" />">
	        	
	            <%-- <span name="proposal/recomend_org_gk_name">
 					<x:out select="$xmlData/data/proposal/recomend_org_name"/>
 				</span> --%>
 			</td>
 			<td align="right"><span class="color_red">*</span>申报日期：</td>
	        <td>
	        	<c:set var="submit_date2" scope="page"><x:out select="$xmlData/data/proposal/submit_date" /></c:set>
				<cpt:date id="submit_date2" name="proposal/submit_date" value="${submit_date2 }" size="20" className="required date" label="申报日期"></cpt:date>
	        </td>
	    </tr>
	    
	    <tr style="display: none;"/>
	    <tr >
	    	<td align="right"><span class="color_red">*</span>项目联系人姓名：</td>
	    	<td>
	    		<input type='text' name='proposal/xmcontact_person_name' id='xmcontact_person_name' maxlength="100" style="width: 140px" class="input_css required maxlength:100" value='<x:out select="$xmlData/data/proposal/xmcontact_person_name"/>' label="项目联系人姓名" />
	    	</td>
	    	<td align="right"><span class="color_red">*</span>联系人手机：</td>
	    	<td>
	    		<input type='text' name='proposal/xmcontact_person_tel' id='xmcontact_person_tel' maxlength="100" style="width: 140px" class="input_css required maxlength:11 mobile" onfocus="InitInput.setNumber(this,11,0,0);" value='<x:out select="$xmlData/data/proposal/xmcontact_person_tel"/>' label="联系人手机" />
	    	</td>
	    </tr>
	    
	    <tr >
	    	<td align="right"><span class="color_red">*</span>项目报审级次：<br/>（省补助资金拨付所属财政局）</td>
	        <td >
				<c:set var="sub_step">{'id':'<x:out select="$xmlData/data/proposal/sub_step_value" />','name':'<x:out select="$xmlData/data/proposal/sub_step_name" />'}</c:set>
	          	<cpt:tree key="sub_step" cacheable="false" className="hn_iuput_kuang  " readonly="true" value="${sub_step}"  label="项目报审级次" 
	          		id="sub_step" onlyChooseLeaf="false" showPattern="all" shieldPattern="0" topCheckbox="true" onClick="initTreeValueExt" />
		        <input id="sub_step_value" type="hidden" name="proposal/sub_step_value" class="required" label="项目报审级次" value="<x:out select="$xmlData/data/proposal/sub_step_value" />"/>
	            <input id="sub_step_name" type="hidden" name="proposal/sub_step_name"  value="<x:out select="$xmlData/data/proposal/sub_step_name" />"/>
			</td>
			
			
	    	<td align="right"><span class="color_red">*</span>项目申请金额（万元）：</td>
	    	<td>
	    		<input type='text' name='proposal/request_money' class="required" id='request_money' onfocus="InitInput.setNumber(this,9,4,2)" style="text-align: right;" value='<x:out select="$xmlData/data/proposal/request_money"/>' label="项目申请金额">
	    	</td>
	    </tr>
	    
	    <tr>
	    	<td align="right"><span class="color_red">*</span>申请奖励类型：</td>
	        <td colspan="3">
				<c:set var="applyjl_type"><x:out select="$xmlData/data/proposal/applyjl_type" /></c:set>
				<cpt:checkbox key="applyjl_type" tagType="radio" name="proposal/applyjl_type"  value="${applyjl_type }" width="70px;" repeatColumn="1"  style="border: 0px; padding: 0px; margin: 0px;float:left;"  ></cpt:checkbox>
				<input type="hidden" id="applyjl_type_value" name="proposal/applyjl_type_value"  class="required"  value="<x:out select="$xmlData/data/proposal/applyjl_type_value" />" label="申请奖励类型">
				<input type="hidden" name="proposal/applyjl_type_name" value="<x:out select="$xmlData/data/proposal/applyjl_type_name" />">
			</td>
	    </tr>
	    </table>
	    <div class="t_bar">联盟理事长单位账户信息</div>
	    <table class="t_css" width="100%" border="0" cellpadding="0"
	    cellspacing="1">
	<col style="width: 25%"/>
	<col style="width: 25%"/>
	<col style="width: 25%"/>
	<col style="width: 25%"/>
	    <tr>
	    	<td align="right"><span class="color_red">*</span>开户行：</td>
	    	<td colspan="3">
	    		<input type='text' name='proposal/opening_bank'  maxlength="100" style="width: 140px" class="input_css required " value='<x:out select="$xmlData/data/proposal/opening_bank"/>' label="联盟理事长单位账户信息-->开户行" />
	    	</td>
	    </tr>
	    <tr>
	    	<td align="right"><span class="color_red">*</span>名&nbsp;称：</td>
	    	<td colspan="3">
	    		<input type='text' name='proposal/presidents_name'  maxlength="100" style="width: 140px" class="input_css required " value='<x:out select="$xmlData/data/proposal/presidents_name"/>' label="联盟理事长单位账户信息-->名称" />
	    	</td>
	    </tr>
	    <tr>
	    	<td align="right"><span class="color_red">*</span>账&nbsp;号：</td>
	    	<td colspan="3">
	    		<input type='text' name='proposal/account'  maxlength="30"  onBlur="this.value=this.value.replace(/\D/g,'')" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" style="width: 140px" class="input_css required " value='<x:out select="$xmlData/data/proposal/account"/>' label="联盟理事长单位账户信息-->帐号" />
	    	</td>
	    </tr>
	</table>
<script type="text/javascript">
function initTreeValueExt(treeId, treeNode) {
 	if ((treeNode && treeNode.isParent)) {
 		scmWarn("请选择具体的" + $("#" + treeId).attr("label"));
 		$("#" + treeId).val("");
 		$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val("");
 		$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId	+ "_value']").val("");
 		$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val("");
 		return false;
 	}
 	var str = treeNode.name;
 	var obj = treeNode.parentNode;
 	while (obj != null) {
 		str = obj.name + "-" + str;
 		obj = obj.parentNode;
 	}
 	
 	$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val(treeNode.id);
 	$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val(treeNode.id);
 	$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val(str);
 }
</script>	